mx6ul_14x14_evk: Simplify the PMIC register writes
authorFabio Estevam <[email protected]>
Thu, 14 Feb 2019 13:35:46 +0000 (11:35 -0200)
committerStefano Babic <[email protected]>
Wed, 13 Mar 2019 08:14:35 +0000 (09:14 +0100)
commit250cf75424f7e2b04bde90ef9d99aae4a9e34f1f
tree7076dc0c29cad4c6a01d16046ef36a895681a92e
parentc6235ef3cbc73a4340e08018696a37b5056948fe
mx6ul_14x14_evk: Simplify the PMIC register writes

There is no need to store the values written to the PMIC inside the
'reg' variable. Make it simpler by writing the values directly.

Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c